package com.woniuxy01;

import java.math.BigDecimal;

public class Test05 {
    public static void main(String[] args) {
        System.out.println(1.1/3);
        System.out.println(0.09+0.01);
        System.out.println(0.09-0.01);
        System.out.println(0.09*.01);
        System.out.println(0.09/0.01);

        BigDecimal b1=new BigDecimal("0.09");
        BigDecimal b2=new BigDecimal("0.01");
        System.out.println(b1.add(b2));
        System.out.println(b1.subtract(b2));
        System.out.println(b1.multiply(b2));
        System.out.println(b1.divide(b2));
    }

}
